Skip to content

Re-factored fakeram to support sp/dp ram/regfile#7

Merged
maliberty merged 1 commit into
The-OpenROAD-Project:mainfrom
jeffng-or:more-memory-type-refactoring
Jun 5, 2025
Merged

Re-factored fakeram to support sp/dp ram/regfile#7
maliberty merged 1 commit into
The-OpenROAD-Project:mainfrom
jeffng-or:more-memory-type-refactoring

Conversation

@jeffng-or

Copy link
Copy Markdown
Collaborator
  • Added support for single-port and dual-port RAMs and Reg Files
  • The existing SP SRAM output was kept as-is for backward compatibility
  • The other three memory types are all-new
  • Added unit and flow tests to get coverage up to around 89%

@jeffng-or jeffng-or requested a review from maliberty June 4, 2025 23:21
@jeffng-or

Copy link
Copy Markdown
Collaborator Author

@maliberty, I can walk you through what I did, if you want. There are a lot of changes
@vvbandeira , thanks for the CI check that runs the tests!

@jeffng-or jeffng-or force-pushed the more-memory-type-refactoring branch 2 times, most recently from ac2f882 to a03634a Compare June 5, 2025 16:19
fixed coverage instrumentation
more cleanup and code coverage
comment updates and parse_input.py removal

Signed-off-by: Jeff Ng <jeffng@precisioninno.com>
@jeffng-or jeffng-or force-pushed the more-memory-type-refactoring branch from a03634a to 0fb7f8c Compare June 5, 2025 21:46
Comment thread run.py
Comment on lines +39 to +42
def get_port_config(json_data):
if "port_configuration" in json_data:
return json_data["port_configuration"]
return "SP"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this can just be

def get_port_config(json_data):
    return json_data.get("port_configuration", "SP")

same elsewhere

@maliberty maliberty merged commit 61faced into The-OpenROAD-Project:main Jun 5, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants